package com.rainy.upload.exception;

import lombok.Data;

@Data
public class AppException extends RuntimeException {

    private String code;

    private Integer level;

    private String message;

    public AppException (String code, Integer level, String message) {
        super(message);
        this.code = code;
        this.level = level;
        this.message = message;
    }

}
